home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 233
- Top = 123
- Width = 345
- Height = 246
- Caption = 'TDBLookupComboPlus Query Demo'
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'System'
- Font.Style = []
- PixelsPerInch = 96
- OnActivate = FormActivate
- OnCreate = FormCreate
- OnDestroy = FormDestroy
- TextHeight = 16
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 337
- Height = 219
- Align = alClient
- TabOrder = 0
- object Bevel1: TBevel
- Left = 12
- Top = 78
- Width = 313
- Height = 130
- end
- object Label1: TLabel
- Left = 10
- Top = 48
- Width = 75
- Height = 14
- Caption = 'Vendor Name'
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'Arial'
- Font.Style = [fsBold]
- ParentFont = False
- end
- object RadioGroup1: TRadioGroup
- Left = 89
- Top = 15
- Width = 223
- Height = 30
- Columns = 2
- Ctl3D = True
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'Arial'
- Font.Style = []
- ItemIndex = 0
- Items.Strings = (
- 'All'
- 'Preferred')
- ParentCtl3D = False
- ParentFont = False
- TabOrder = 0
- OnClick = RadioGroup1Click
- end
- object DBLookupComboPlus1: TDBLookupComboPlus
- Left = 89
- Top = 44
- Width = 222
- Height = 23
- LookupSource = DataSource1
- Style = csIncSearch
- Font.Color = clBlack
- Font.Height = -13
- Font.Name = 'Arial'
- Font.Style = [fsBold]
- ParentFont = False
- TabOrder = 1
- OnPrepareList = DBLookupComboPlus1PrepareList
- end
- object Memo1: TMemo
- Left = 15
- Top = 81
- Width = 307
- Height = 123
- Color = clBackground
- Font.Color = clBlue
- Font.Height = -11
- Font.Name = 'Arial'
- Font.Style = [fsBold]
- Lines.Strings = (
- 'TQuery Populates the List (Demo #3)'
- ''
- ' This small project shows how to fill the dropdown '
- 'list with the result from a TQuery. Click a radio button '
- 'to show either a list of all vendors, or a list of only'
- 'perferred vendors.'
- ' Refer to the complete notes on this demo in the '
- 'documentation file. (PLUS.WRI - Demo #3).')
- ParentFont = False
- TabOrder = 2
- end
- end
- object Query1: TQuery
- DatabaseName = 'DBDEMOS'
- SQL.Strings = (
- 'SELECT VENDORNAME FROM VENDORS '
- 'WHERE PREFERRED = :ASELECTION OR '
- ' PREFERRED =:BSELECTION')
- Params.Data = {
- 010002000A4153454C454354494F4E00050200010000010A4253454C45435449
- 4F4E0005020000000001}
- Left = 2
- end
- object Table1: TTable
- TableType = ttParadox
- Left = 274
- end
- object BatchMove1: TBatchMove
- Destination = Table1
- Mappings.Strings = (
- 'VendorName=VendorName')
- Source = Query1
- Left = 32
- end
- object DataSource1: TDataSource
- DataSet = Table1
- Left = 306
- end
- end
-